scoreboard players reset @s Death
scoreboard players reset @s SpawnTime
tag @s remove isDeath
tag @s remove dieByDevour

title @s actionbar ""

execute as @s[team=red] run spectate @r[gamemode=!spectator,team=red]
execute as @s[team=blue] run spectate @r[gamemode=!spectator,team=blue]